package tgc.edu.examxy.entity;

import java.util.UUID;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import org.springframework.data.annotation.CreatedBy;

import tgc.edu.examxy.custom.BaseEntity;


/***
 * 班委会
 * @author Administrator
 *
 */
@Entity
public class Committee extends BaseEntity<UUID> {
	private UUID tbClassId;
	private String tbClass;
	private Student student;
	private String position;// 班级职务

	public String getTbClass() {
		return tbClass;
	}

	public void setTbClass(String tbClass) {
		this.tbClass = tbClass;
	}

	@ManyToOne
	@CreatedBy
	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public UUID getTbClassId() {
		return tbClassId;
	}

	public void setTbClassId(UUID tbClassId) {
		this.tbClassId = tbClassId;
	}

}
